package com.taikang.dao;

import com.taikang.dao.base.DefaultCommonDaoImpl;
import com.taikang.entity.CourseRecord;
import com.taikang.entity.TrainCourse;
import org.springframework.stereotype.Repository;

/**
 * Created by zhai on 16/5/13.
 */
@Repository
public class TrainCourseDao extends DefaultCommonDaoImpl<TrainCourse> {

    public Boolean enroll(CourseRecord courseRecord) {
        return null != getDao().insert(courseRecord);
    }
}
